x86: Clean up TSC_RELIABLE handling after 20705:a74aca4b9386
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 19 Jan 2010 10:56:59 +0000 (10:56 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 19 Jan 2010 10:56:59 +0000 (10:56 +0000)
commit567340d81528e573f25f85cd16caa686e9c732aa
tree7e778d28e77e6cb54e82071489616d0cf54448f5
parent7d4ad5a07e7758cd711c828b12c686e52c0fa132
x86: Clean up TSC_RELIABLE handling after 20705:a74aca4b9386

Set the feature by default and disable it if we can detect TSC warp,
rather than leaving the feature cleared and setting it if we happen
not to detect TSC warp.

This way round fixes dom0 kernel boot for Masaki Kanno.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpu/intel.c
xen/arch/x86/time.c
xen/include/asm-x86/cpufeature.h